$ego_start$
name=curd_mgmt_impl
group_name=curd
generate_name=<{ .className }>MgmtImpl
generate_path=<{ .ROOT }>/<{ .packagepath }>/mgmt/impl
description=mgmt_impl
ext=.java
$ego_end$
package <{ .package }>.mgmt.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import hsp.hillstonenet.framework.mybatis.starter.service.CurdServiceImpl;
import lombok.extern.slf4j.Slf4j;
import <{ .package }>.bean.qo.<{ .className }>QO;
import <{ .package }>.bean.vo.<{ .className }>VO;
import <{ .package }>.entity.<{ .className }>;
import <{ .package }>.mapper.<{ .className }>Mapper;
import <{ .package }>.mgmt.<{ .className }>Mgmt;
import org.springframework.stereotype.Service;


@Service
@Slf4j
public class <{ .className }>MgmtImpl
        extends CurdServiceImpl<<{ .className }>Mapper, <{ .className }>, <{ .className }>VO, <{ .className }>QO>
        implements <{ .className }>Mgmt {

    @Override
    public QueryWrapper<<{ .className }>> createQueryByQO(<{ .className }>QO qo) {
        return (QueryWrapper<<{ .className }>>) createQueryV2().eq("name", qo.getName()).list();
    }
}
